-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow push to init a wiki repo #1279
Conversation
cmd/serv.go
Outdated
@@ -296,6 +296,13 @@ func runServ(c *cli.Context) error { | |||
gitcmd = exec.Command(verb, repoPath) | |||
} | |||
|
|||
if isWiki { | |||
err = repo.InitWiki() | |||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if err := repo.InitWiki(); err != nil {
....
}
more readable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a good idea to contain them (not that it matters here, but it's good practice)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Other than that comment, LGTM |
LGTM |
let L-G-T-M work |
resolved #1278